package org.happen.android.bean.response.exts;

import java.util.Arrays;

import org.happen.android.bean.response.IJsonObj;

import com.google.gson.annotations.SerializedName;

public class MainResp implements IJsonObj
{
	@SerializedName("MessageEntitys")
	public MessageItem[] messages;

	public static class MessageItem implements IJsonObj
	{
		public String imagePath; //  ,
		public String messageAddress; //  ,
		public String messageContent; //  ??????????????????,
		public int messageDown; //  0,
		public int messageId; //  21,
		public float messageLatitude; //  0,
		public float messageLongitude; //  0,
		public MessageTime messageTime; //  null,
		public int messageUp; //  0,
		public int userId; //  0

		@Override
		public String toString()
		{
			return "MessageItem [imagePath=" + imagePath + ", messageAddress=" + messageAddress + ", messageContent=" + messageContent + ", messageDown=" + messageDown + ", messageId=" + messageId
					+ ", messageLatitude=" + messageLatitude + ", messageLongitude=" + messageLongitude + ", messageTime=" + messageTime + ", messageUp=" + messageUp + ", userId=" + userId + "]";
		}
	}

	public static class MessageTime implements IJsonObj
	{
		public int data;
		public int day;
		public int hours;
		public int minutes;
		public int nanos;
		public int seconds;
		public long time;
		public int timezoneOffset;
		public int year;

		@Override
		public String toString()
		{
			return "MessageTime [data=" + data + ", day=" + day + ", hours=" + hours + ", minutes=" + minutes + ", nanos=" + nanos + ", seconds=" + seconds + ", time=" + time + ", timezoneOffset="
					+ timezoneOffset + ", year=" + year + "]";
		}
	}

	public String toString()
	{
		return "MainResp [messages=" + Arrays.toString(messages) + "]";
	}
}